package com.ss.student.dao;

import java.util.List;

import com.ss.student.pojo.StudentInfo;

/**
 * 学生管理
 * @author Administrator
 *
 */
public interface StudentDao {
	/**
	 * 新增学生
	 * @param info
	 * @throws Exception
	 */
	void addStu(StudentInfo info) throws Exception;
	/**
	 * 查询
	 * @param info
	 * @return
	 * @throws Exception
	 */
	List<StudentInfo> queryStu(StudentInfo info) throws Exception;
	/**
	 * 删除
	 * @param id
	 * @return
	 * @throws Exception
	 */
	int delStu(String id) throws Exception;
	/**
	 * 修改
	 * @param info
	 * @return
	 * @throws Exception
	 */
	int updateStu(StudentInfo info) throws Exception;
	/** 
	 * 查询one
	 * @param info
	 * @return
	 * @throws Exception
	 */
	StudentInfo getOneStu(StudentInfo info) throws Exception;
}
